package com.zzyk.main.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zzyk.main.model.pojo.DeviceExtraData;
import com.zzyk.main.mapper.DeviceExtraDataMapper;
import com.zzyk.main.service.DeviceExtraDataService;

@Service
public class DeviceExtraDataServiceImpl implements DeviceExtraDataService {

    @Resource
    private DeviceExtraDataMapper deviceExtraDataMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return deviceExtraDataMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(DeviceExtraData record) {
        return deviceExtraDataMapper.insert(record);
    }

    @Override
    public int insertSelective(DeviceExtraData record) {
        return deviceExtraDataMapper.insertSelective(record);
    }

    @Override
    public DeviceExtraData selectByPrimaryKey(Integer id) {
        return deviceExtraDataMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(DeviceExtraData record) {
        return deviceExtraDataMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(DeviceExtraData record) {
        return deviceExtraDataMapper.updateByPrimaryKey(record);
    }

}


